package com.data.monitoring.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.data.monitoring.model.entity.FolderStatus;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

/**
 * <p>
 * 文件夹状态记录 服务类
 * </p>
 *
 * @author HanYiMing
 * @since 2025-05-28
 */
public interface FolderStatusService extends IService<FolderStatus> {


    List<FolderStatus> findLatestStatus();

    Page<FolderStatus> findByFolderId(Long folderId, Pageable pageable);
}
